<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
		<title>大唐微科集团</title>
		<link rel="shortcut icon" href="assets/img/icon.png">
		<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" href="assets/css/main.css">
		<link rel="stylesheet" type="text/css" href="assets/css/green.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="assets/css/animate.css">
		<link rel="stylesheet" href="assets/css/slicknav.css" />
		<link rel="stylesheet" href="assets/css/Element-ui.css" />
		<style type="text/css">
			#app{
				margin:auto;
				width:90%;
				margin-left:5%;
				float: left;
			}
			.el-carousel__container img{
				display: block;
				width:100%;
			}
			#carousel-area i{
				margin-right: 0;
			}
			@media only screen and (min-width: 320px) and (max-width: 480px) {
				.el-pagination.is-background .el-pager li {
				    margin: 0 2px;
				}
				.el-carousel__indicator {
				    padding: 4px 7px;
				}
				.el-carousel__button{
					width:7px;
					height:7px;
				}
				.bottom_color {
				    padding-top: 0;
				}
			}
		</style>
	</head>

	<body>
		<header id="header-wrap"></header>
		<div id="app" v-cloak>
			<!--<div class="banner_img">
				<img src="assets/img/banner_bg.png"/>
			</div>-->
			<!--center-->
			<section id="about" class="section">
				<!--集团简介-->
				<div class="team-all about_team">
					<div class="about_border_bottom"> 
						<div class="introduction_left" ref='bannerHeight'>
							<div class="" id="company_nav_tit">
								<div class="section-title wow fadeInUpQuick">
									<a href="index.html" class="a_hover">
										<img src="assets/img/home.png" />&nbsp;&nbsp;首页&nbsp;
									</a><i class="el-icon-arrow-right"></i>&nbsp;<a class="a_hover" href="about.html">关于微科</a>
									<i class="el-icon-arrow-right"></i>&nbsp;<span style="color:#003793;">{{introductListInfo.classifiedsName}}</span>
									<span style="color:#003793;" v-for="(item,index) in introductListInfo" v-if="index == 0">{{item.classifiedsName}}</span>
								</div>
							</div>
							<!--发展历程-->
							<div class="introduction_centent devehistory" v-if="introductListInfo.videoUrl == 'second'">
								<div v-html="introductListInfo.newsContent"></div>
							</div>
							<!--集团简介-->
							<div class="introduction_centent" v-if="introductListInfo.videoUrl == 'first'">
								<p class="centetn_tit">{{introductListInfo.newsTitle}}</p>
								<img :src="introductListInfo.newsCover" id="introdu_img"/>
								<p class="centetn_tit" v-html="introductListInfo.newsContent"></p>
							</div>
							<!--荣誉资质-->
							<div class="introduction_centent honoray section-title wow fadeInUpQuick" v-for="(item,index) in introductListInfo" v-if="index == 0" v-if="item.videoUrl == 'third'">
								<!--企业荣誉-->
								<dl class="honoray_dl" v-for="(item,index) in introductListInfo" v-if="item.imgExte == 'showFirst'" v-if="index < 3">
									<dt class="honoray_dt">
										<img :src="item.newsCover"/>
									</dt>
									<dd class="honoray_dd">{{item.newsTitle}}</dd>
								</dl>
								<!--企业资质-->
								<dl class="honoray_dl two_dl" v-for="(item,index) in introductListInfo" v-if="item.imgExte == 'showSecond'" v-if="index < 3">
									<dt class="honoray_dt">
										<img :src="item.newsCover"/>
									</dt>
									<dd class="honoray_dd">{{item.newsTitle}}</dd>
								</dl>
								<!--企业版权封面图-->
								<ul class="veeksoft_ul" v-for="item in introductListInfo" v-if="item.imgExte == 'showForth'">
									<li class="veeksoft_li">
										<img :src="item.newsCover"/>
									</li>
								</ul>
								<!--企业版权详情图-->
								<ul class="veeksoft_ul">
									<div>
										<li class="veeksoft_li_right" v-for="(item,index) in introductListInfo" v-if="item.imgExte == 'showFive'">
											<img :src="item.newsCover"/>
										</li>
									</div>
								</ul>
								<!--企业版权-->
								<ul class="honnor_bottom_ul">
									<div>
										<li class="bottom_li_honnor" v-for="(item,index) in introductListInfo" v-if="item.imgExte == 'showThird'">
											<img :src="item.newsCover"/>
										</li>
									</div>
								</ul>
							</div>
						</div>
						<div class="introduction_right">
							<div class="introdu_topImg">
								<img src="assets/img/introduct.png"/>
							</div>
							<ul class="right_ulList" :style="{height:UlHeight - 97 + 'px'}">
								<li class="li_List" v-for="(item,index) in rightListInfo" @click="aboutBtn(item.id,index)" :class="{List_active:index == current}">{{item.classifiedsName}}</li>
							</ul>
						</div>
					</div>
					<!--底部边框颜色-->
					<div class="bottom_color">
						<div class="left_color"></div>
						<div class="right_color"></div>
					</div>
				</div>
			</section>
		</div>
		<script type="text/javascript" src="assets/js/jquery-min.js"></script>
		<script type="text/javascript" src="assets/js/conent.js"></script>
		<script type="text/javascript" src="assets/js/vue.js" ></script>
		<script type="text/javascript" src="assets/js/vue-resource.js" ></script>
		<!--<script type="text/javascript" src="assets/js/Element-ui.js" ></script>-->
		<script type="text/javascript">
			function getQueryString(name) {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)")
				var r = window.location.search.substr(1).match(reg);
				if(r != null) {
					return decodeURI(r[2])
				}
				return null;
			}
			//ID
			var contentId = getQueryString("AboutId");
			//页面下标
			var contentNumber = getQueryString('AboutIndex');
			var vm = new Vue({
				el:'#app',
				data(){
					return{
						UlHeight : '',
						introductListInfo : '',
						rightListInfo : '',
						current : 0
					}
				},
				created(){
					this.introductInfo(contentId,contentNumber);
					this.rightAboutInfo();
				},
				methods:{
					introductInfo(id,index){
						var _this = this;
						this.$http.get(URL + 'getDtveekNews/' + id).then(function(obj){
							if(obj.body.code == 'success'){
								if(obj.body.data.singleObject == null){
									
								}else{
									_this.introductListInfo = obj.body.data.singleObject;
								}
								_this.current = index;
							}
							setTimeout(function(){
								_this.$nextTick(function(){
									_this.UlHeight = this.$refs.bannerHeight.offsetHeight;
								})
							},300)
						})
					},
					//右侧列表
					rightAboutInfo(){
						var _this = this;
						this.$http.get(URL + 'dtveekclassifies').then(function(data){
							if(data.body.code == 'success'){
								if(data.body.data.length > 0){
									_this.rightListInfo = data.body.data
								}
							}
						})
					},
					//右侧点击事件
					aboutBtn(id,index){
						this.introductInfo(id,index)
					}
				},
				updated(){
					setTimeout(function() {
						$("#main-menu li a").removeClass("active");
						$("#main-menu li:nth-of-type(" + 2 + ") a").addClass('active');
					},300)
				}
			})
			setTimeout(function() {
				var wow = new WOW({
					mobile: false 
				});
				wow.init();
			},300)
			
		</script>
		<script type="text/javascript" src="assets/js/wow.js" ></script>
		<!--底部-->
		<footer id="footer"></footer>
		<a href="#" class="back-to-top">
			<i class="fa fa-angle-up ">
				<span class="i_span"></span>
			</i>
		</a>
		<script type="text/javascript" src="assets/js/Top.js"></script>
	</body>

</html>